package com.example.springboot_redis.service;

import com.example.springboot_redis.Dao.Po.StudentPo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StudentI {
    StudentPo getStudentById(int id);
    boolean addStudent(StudentPo studentPo);
    boolean updateStudent(StudentPo studentPo);
    boolean deleteStudent(int id);
    List<StudentPo> getAllStudents(); // Method to retrieve all students

}
